home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Skunkware 98
/
Skunkware 98.iso
/
osr5
/
make_ind.sh
< prev
next >
Wrap
Linux/UNIX/POSIX Shell Script
|
1998-07-27
|
431b
|
28 lines
#!/bin/sh
H=`pwd`
for i in $*
do
d=`dirname $i`
cd $d/..
p=`pwd`
b=`basename $p`
[ -f /skunkware/vols/$b-VOLS.tar ] && {
cd $H
continue
}
rm -rf archives sso
sh MakeSSO
rm -rf sso
if [ -d archives/FLOPPY ]
then
cd archives/FLOPPY
else
cd archives/TAPE
fi
tar cf /skunkware/vols/$b-VOLS.tar V*
cd ../..
rm -rf archives
cd $H
done